﻿<%@ Page Title="" Language="C#" MasterPageFile="~/master/main.master" AutoEventWireup="true"
    CodeFile="Default.aspx.cs" Inherits="aspx_news_default" EnableViewState="false"%>

<%@ Register Src="~/aspx/sidePart.ascx" TagPrefix="uc1" TagName="sidePart" %>


<asp:Content ID="Content1" ContentPlaceHolderID="Title" runat="Server">
     福建师范大学-名师讲堂-新闻中心
</asp:Content>
<asp:Content ID="content3" ContentPlaceHolderID="Head" runat="server">
    <script type="text/javascript">
        jQuery(function () {
            jQuery('div.holder').jPages({
                containerID: "list",
                perPage: 10,
                previous: "上一页",
                next: "下一页",
                fallback: 1,
                delay: 1
            });
        });
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Main" runat="Server">
    <form id="form1" runat="server">
        <div class=" sidebar col11">
            <asp:ObjectDataSource ID="ods新闻中心" runat="server" OldValuesParameterFormatString="original_{0}"
                SelectMethod="GetDataBy显示" TypeName="ds_名师讲堂TableAdapters.tb_新闻中心TableAdapter">
                <SelectParameters>
                    <asp:Parameter DefaultValue="True" Name="显示" Type="Boolean" />
                </SelectParameters>
            </asp:ObjectDataSource>
            <article>
                <div class="heading">
                    <img src="../../images/title/xwzx.png" alt="新闻中心" /></div>
                <div class="content" style="padding-right: 40px">
                    <ul class="list" id="list">
                        <asp:Repeater ID="Repeater1" runat="server" DataSourceID="ods新闻中心">
                            <ItemTemplate>

                                <li>
                                    <table class="two">
                                        <tr>
                                            <td>
                                                <a href="one.aspx?id=<%# Eval("新闻ID")%>">
                                                    <%# Eval("标题") %></a>
                                            </td>
                                            <td class="right">

                                                <%# Eval("发布时间","{0:[yyyy-MM-dd]}") %>
                                            </td>
                                        </tr>
                                    </table>
                                </li>
                            </ItemTemplate>
                        </asp:Repeater>
                    </ul>
                </div>
                <div class="holder"></div>
            </article>
        </div>
        <div class="sidebar col05">
            <uc1:sidePart runat="server" ID="sidePart" />
        </div>
    </form>
</asp:Content>